/**
 * edurender
 * er_memory.c
 * (c) 2009 J. Brad Byrd
 */

#include "er_memory.h"
#include "er_macros.h"

#include <stdlib.h>

// JBB_TODO: This is just to insulate our allocations a bit so we can track them
// better later if we need to.
void *erMalloc(size_t size, const char *file, int line)
{
	ER_UNUSED(file);
	ER_UNUSED(line);

	return malloc(size);
}

void erFree(void *ptr, const char *file, int line)
{
	ER_UNUSED(file);
	ER_UNUSED(line);

	free(ptr);
}
